//
//  UIImageView+WebImage.h
//  JackToolsBox
//
//  Created by Jack Xue on 2019/12/3.
//  Copyright © 2019 Jack Xue. All rights reserved.
//

//#import <AppKit/AppKit.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImageView (WebImage)
///下载+展示网络图片，并指定placeholder
- (void)setWebImageWithUrl:(NSString*)urlString placeholder:(UIImage*)placeholderImage;

///下载+展示网络图片
- (void)setWebImageWithUrl:(NSString*)urlString;

///下载+展示网络图片，并指定placeholder，带有下载结果(状态)
- (void)setWebImageWithUrl:(NSString*)urlString placeholder:(UIImage*)placeholderImage taskCompletion:(void(^)(NSError *err))completion;
@end

NS_ASSUME_NONNULL_END
